package com.zz.common.codeGenerator.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zz.common.codeGenerator.dto.GenTableDto;
import com.zz.common.codeGenerator.entity.GenTable;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 代码生成业务表 Mapper 接口
 * @author zhang.lei
 * @since 2025-08-18 20:31:13
 */
public interface GenTableMapper extends BaseMapper<GenTable> {
    List<GenTable> selectDbTableList(Page<GenTable> page, @Param("genTableDto") GenTableDto genTableDto);

    int createTable(@Param("sql") String sql);

    List<GenTable> selectDbTableListByNames(@Param("tableNames") String[] tableName);
}
